
goog.provide('jsmeta.interp');
goog.require('jsmeta.base');

function Program() {
  
}

Program.prototype.interpret = function(ctx) {
  throw 'run finished';
}


Program.prototype.Run = function(ctx) {
  var next = this;
  var last;
  try {
    for (;;) {
      last = next;
      next = next.Interpret(ctx);
    }
  } catch (e) {
    alert(e)
  }
}

